<template>
  <div id="app">
    <button @click="handleChange">test</button>
    <Map v-if="show"></Map>
  </div>
</template>

<script>
import Map from "@/views/Map";

export default {
  name: 'App',
  data(){
    return{
      pipelineDataList:[],
      show:false
    }
  },
  mounted(){
    this.getData();
  },
  components: {
      Map,
  },
  methods:{
    async getData(){

    },
    handleChange(e){
      this.show=true;
    }
  }
}
</script>

<style>

</style>
